package com.jiayou.im.entity

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.baomidou.mybatisplus.extension.activerecord.Model
import java.io.Serializable
import java.time.LocalDateTime

/**
@author 李 双
@data   2020-11-24  13:31
@info
 */
@TableName("im_moment")
data class  Moment(

    @TableId("id", type = IdType.AUTO)
    var id: Int? = null,

    var username: String? = null,

    var description: String? = null,

    var createTime: LocalDateTime? = null

) : Model<Moment>(), Serializable {

    companion object {
        private const val serialVersionUID = 1L
    }
}
